////////////////////////////////////////////////
// -- DepthHUD Lite                           //
// by Hurricaaane (Ha3)                       //
//                                            //
// http://www.youtube.com/user/Hurricaaane    //
//--------------------------------------------//
// Base panel                                 //
////////////////////////////////////////////////

local PANEL = {}

function PANEL:Init()
	self:SetMainAlign( 5 )
	self:SetMainSize( 2 )
	self:SetMainType( "text" )
	self:SetMainColor( color_white )
	self:UpdateMainFont( )
	
	self:SetSubText( "" )
	self:SetRate( 1 )
	
end

function PANEL:Think()
	self:SetMainText( os.date("%H:%M:%S") )
	
end

derma.DefineControl( "DHUI_Time", "", PANEL, "HIndicatorLabel" )
